home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Whiteline: delta
/
whiteline CD Series - delta.iso
/
english
/
mffm107d
/
mfsfm.doc
< prev
next >
Wrap
Text File
|
1995-11-25
|
9KB
|
224 lines
MfsfM (Marcus' file selector for MiNT) Copyright 1993 by Marcus Haebler
DISCLAIMER:
-----------
I ACCEPT NO RESPONSIBILITY FOR ANY DAMAGE CAUSED BY THE USE OF THIS
PROGRAM, WHETHER IT IS USED CORRECTLY OR NOT. I GIVE ABSOLUTELY NO WARRANTY
FOR THIS PROGRAM, NOT EVEN AN IMPLIED WARRANTY OF FITNESS FOR A PARTICULAR
PURPOSE. IF YOU DECIDE TO USE THIS PROGRAM, YOU'RE COMPLETELY ON YOUR OWN!
SHAREWARE
---------
This program is shareware. That means that you have to PAY the shareware fee
if you use it regulary. The fee is 10 DM. This should not be too much.
Send it to the address below and INCLUDE AN ADRESSED AND STAMPED ENVELOPE
AND A FORMATED DISK. You can also send the money to my bank account but
then you have to pay 13 DM. Sorry for this but I think that it is still
cheaper than sending me 10 DM with an envelope.
(If you are able to receive uuencoded emails from the Internet then you
can send me 10 DM (envelope or bank account). You won't get a disk then.
All new version will reach you automatically.)
What will you get for this? You will get an full version of MfsfM. Is this
all? No. You will also get all updates automatically if you have an email
address. DON'T FORGET TO INFORM ME WHAT'S YOUR EMAIL ADDRESS.
INTRODUCTION
------------
Today I decided to write this short documentation for my file selector
because it became a little bit complex. I hope that you read this file.
I know reading docs is boring. Please make shure to have MiNT running!!!
ABOUT MfsfM
-----------
MfsfM was and is a file selector for PRAX (something like MultiTOS). _uk_
asked me if I could write the file selector for it. First of all I hasitated
a little bit because I had no experience with something like this but in
the end I said yes.
It is quite difficult for me to write something like this because I am
studying chemistry. The study takes a lot of time.
Now why is MfsfM different from all other file selectors (all file selectors
I know)? MfsfM uses only U:. This means that you get a structure like Un*x
uses it. U: is the root directory. In root you will find all your normal
TOS drives mounted. This is done by MiNT. MfsfM supports long file names
and case sensitiv file systems like the Minix file system or Ydisk.
MfsfM follows the "TOS goes Un*x" trend. I hope that Atari will follow this
trend, too.
INSTALLATION
------------
There are four ways to install MfsfM:
1) For this you have to be owner of MultiTOS. Just insert a line
"run <full path and and file name>" in GEM.CNF.
Example: run d:\gnu\source\mfsfm\mfsfm.prg
NOTE: If you are running MultiTOS you _MUST_ use GEM.CNF!
2) Install MFSFM.PRG as auto boot in your DESKTOP.INF (or NEWDESK.INF).
This might be not the best choice if you are using GEMINI or something
like this.
3) Insert a line with "exec <full path and file name>" in MINT.CNF. You
have to add a number of seconds to this line. This is necessary
to give GEM time to launch accessories. Five seconds work quite well
on my system with two accessories.
Example: exec d:\gnu\source\mfsfm\mfsfm.prg 5
NOTE: Install it here _ONLY_ if you are running the old singletask AES!
4) Start MFSFM.PRG from the desktop. It will install itself in trap #2.
PATH AND FILE NAME
------------------
You will find that the path and file name are scrollable. The file name is
not scrollable on a TOS file system because there is no need for this.
If you click on the path or the file name and it was not editable it becomes
editable. If you have clicked on the path and the file name is a valid file
this file will be automatically selected. Play around with it.
There is a function I should mention: If you double click the path the
directory is read. You can also use this function to reread a directory.
THE FILE WINDOW
---------------
Everything should be easy to use. Just a few words concerning the bar at the
top. If you double click it you will be able to change the regular
expression.
"?" and "*" are working like in the TOS file selector. "*.*" is equal to "*".
See OPTIONS.
With the double arrows you can get further information about the files.
Since 1.04 there are icons instead of type characters. You have to use
a System font >= 16 * 8 to get them.
Also since 1.04 there is a popup on the "\"-button. If you select a
drive letter in the popup it has the same effect as clicking on a
drive letter in the original file selector.
NOTE: If the caller runs in the TOS domain. You can only see regular
files and directories. If the caller is in the MiNT domain you the
file selector uses Fxattr(). The effect is that you can see links,
processes, character devices and pipes, too.
OPTIONS
-------
Here you can set up the behavior of the file selector:
o Follow links: Fxattr will follow links if this is turned on.
o Hide TOS hidden files: TOS file with hidden attribute are not shown.
o Hide Un*x hidden files: files with a leading "." are not shown.
o Online slider: the slider becomes an online slider.
o Save last path: The file selector ignores the path that is passed to it
it uses the last shown path.
o "*.*" is equal to "*": What do you exspect?
Since version 1.05 you can save the options. The file mfsfm.cnf can be
put in the root dir of every drive. It will be searched automatically
for this. The search is done in the following order: C, D, ..., Z, A, B
This means that the disk drives are the last drives.
If you set the environment variable MFSFMCNF to e.g.
d:\dir\subdir\mfsfm\mfsfm.cnf you can put the config file everywhere.
THE SORT POPUP
--------------
You can choose the method of sorting here. The options "reverse", "numbers",
"dir2top" and the actual method are saved in mfsfm.cnf. There are the
following entries int the popup:
by name: sort by name
by type: sort by file type (directory, regular file, symbolic link etc.)
by ext.: sort by extension. The extension is the string that follows the
last "." in the file name. "Z" is the extension of "test.tar.Z"
by size: sort by the length of a file.
by date: sort by the time stamp of a file.
no sort: no sorting, options like "reverse", "dir2top" are ignored.
There are also the following options:
reverse: sort in reverse order.
numbers: look at numbers. This means that "test2" stands before "test10".
NOTE: THIS OPTION IS NOT ACTUALLY SUPPORTED IN 1.07.
dir2top: directories are sorted to the top.
THE "FILE..." POPUP
-------------------
This popup supports various file operations. If you want e.g. to move a
file do the following things. Klick file. Klick "mark" in the popup.
Change to the target path. Klick "move" in the popup. If you only want to
rename a file mark it. Type the new name in the selection field and klick
on "move".
It is important to know that the operations in the popup refer to the file
name in the selection field. You can also type a name of a directory in the
and delete it. Moving and copying is impossible with directories.
SIGNALS
_______
You can send signals to MfsfM. It catches the following signals:
Signals to kill MfsfM cleanly: SIGHUP, SIGINT, SIGQUIT, SIGTERM
NOTE: MfsfM is not killed at once. If it recognizes that the file selector
is not called at the moment, it terminates. If the file selector is
active, then it waits for the file selector.
There is also the possibility to disable MfsfM for a short time. Send a
SIGTSTP (Nummer 18) to MfsfM. Send a SIGCONT (Nummer 19) to enable it.
NOTE: If MfsfM is disabled this does _not_ mean that it is no longer in
the xbra chain. There is a flag set after a SIGTSTP. The effect is
that the caller falls through.
THE END
-------
This was all. I hope that this documentation is short enough to be read by
everyone. If you have further questions drop me a note.
THANKS GO TO
------------
- my girl friend Nicole for her patience and comprehension.
- _uk_ (Uli) for inspiration, ideas, critics and help.
- Eric for MiNT and answering my questions so quickly.
- rosebud (Uwe) for trying to answer my stupid questions and testing.
- Spell for the idea of making PRAX, ideas and bug reports.
- tfs and _Zork_ for ydisk.
- Julian for the idea with the small images.
- the authors of xv3.00 for their nice images.
- tfs for the symbolic link image.
- spoil(Laurenz) for ideas and critics.
- Gryf, Dirch and Chris for ideas, critics and bugreports.
- and all the others for answering my questions.
GREETINGS TO
-------------
_uk_, Spell, tfs, rosebud, Uzul, cortex, _Zork_, connect, Hackbear,
Wizzcat, Knightman, ki (I am waiting for the new Sysmon), ah, eye, gsch,
daryl_, Marsu, Gard, Gero, spoil, dirch, Gryf ... and all the others
on #Atari.
--- Marcus
Address: Email: Voice:
Marcus Haebler haebler@uni-muenster.de
Althausweg 29 or 02 51 / 21 33 93
48159 Muenster srb114@math.uni-muenster.de
Germany
IRC: D_Gently
Bankverbindung:
Stadtsparkasse Muenster, BLZ 400 501 50, Kontonummer: 109 070 946